﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PrintPersonalReport.aspx.cs"
    Inherits="BOH.Information.Report.PrintPersonalReport" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%--<object id="WebBrowser1" width="0" height="0" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></object>--%>
<head runat="server">
    <title>打印报表</title>
    <link href="../../style/css.css" type="text/css" rel="Stylesheet" />

    <script src="../../js/jquery-1.3.2.js" type="text/javascript"></script>

    <script src="../../js/common.js" type="text/javascript"></script>

    <style media="print">
        #divToip
        {
            display: none;
        }
        #divPrintArea
        {
            display: block;
        }
    </style>
    <style>
        body
        {
            font-family: 宋体;
            font-size: 15px;
        }
        tr
        {
            height: 30px;
            vertical-align: middle;
        }
        .break
        {
            page-break-after: always;
        }
    </style>
</head>
<body style="margin: 0; padding: 0">
    <form id="form1" runat="server">
    <div id="divPrintArea">
        <asp:Repeater ID="RepPrint" runat="server" OnItemCreated="RepPrint_ItemCreated" OnItemDataBound="RepPrint_ItemDataBound">
            <ItemTemplate>
                <br />
                <br />
                <div id="PersonalReportTitle">
                    <h2>
                        <%# Eval("ApplyPeriod") %>上海市卫生系列高级评审个人信息表</h2>
                </div>
                <br />
                <div>
                    <center>
                        <table border="0" cellspacing="0" cellpadding="0" width="680px">
                            <tr>
                                <td align="left" width="300px">
                                    <h5>
                                        主管局:<%# Eval("GovernName") %></h5>
                                </td>
                                <td align="left" width="220px">
                                    <h5>
                                        学科组:<%# Eval("SubjectID") %></h5>
                                </td>
                                <td align="left">
                                    <h5>
                                        编号:</h5>
                                </td>
                            </tr>
                        </table>
                    </center>
                </div>
                <div id="bodyDiv">
                    <center>
                        <table width="680px" style="margin-top: 10px" class="TableReport">
                            <%--!-<-<tr>
                            <td align="center">
                                评审系列
                            </td>
                            <td colspan="7" align="left">
                                &nbsp;<asp:Label ID="lblApplyStyle" runat="server"><%# Eval("ApplyStyleName") %></asp:Label>
                            </td>
                          </tr>
                            <td rowspan="9" width="200px" height="270" align="center" valign="middle">
                                <asp:Panel ID="panelShowPhoto" runat="server" Visible="true">
                                    <img src='<%# Eval("ApplyImage") %>'  id="imgPhoto" Width="180" Height="260"/></asp:Panel>
                            </td>
                        </tr>--%>
                            <tr>
                                <td align="center" width="100px">
                                    姓&nbsp;&nbsp;&nbsp;名
                                </td>
                                <td align="left">
                                    <asp:Label ID="lblApplyName" runat="server"><%# Eval("ApplyName") %></asp:Label>
                                </td>
                                <td align="center" width="100px">
                                    性&nbsp;&nbsp;&nbsp;别
                                </td>
                                <td align="left" style="width: 80px">
                                    <asp:Label ID="lblGender" runat="server"><%# Eval("Gender") %></asp:Label>
                                </td>
                                <td align="center" width="100px">
                                    出生年月
                                </td>
                                <td align="left" width="100px">
                                    <asp:Label ID="lblBirthday" runat="server"><%# Eval("Birthday")%></asp:Label>
                                </td>
                                <td align="center" width="110px">
                                    手&nbsp;&nbsp;&nbsp;机
                                </td>
                                <td align="left" width="120px">
                                    <asp:Label ID="lblMobile" runat="server"><%# Eval("ApplyMobile") %></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="100px">
                                    身份证号
                                </td>
                                <td align="left" colspan="3">
                                    <asp:Label ID="lblIDCard" runat="server"><%# Eval("IDCard")%></asp:Label>
                                </td>
                                <td align="center" width="100px">
                                    工作单位
                                </td>
                                <td colspan="3" align="left">
                                    <asp:Label ID="lblUnit" runat="server"><%# Eval("UnitGovernName") %></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="100px">
                                    学&nbsp;&nbsp;&nbsp;历
                                </td>
                                <td align="left">
                                    <asp:Label ID="lblEducation" runat="server"><%# Eval("EducationLevel") %></asp:Label>
                                </td>
                                <td align="center" width="80px">
                                    毕业时间
                                </td>
                                <td align="left">
                                    <asp:Label ID="lblGraduationTime" runat="server"><%# Eval("GraduationDate") %></asp:Label>
                                </td>
                                <td align="center" width="100px">
                                    毕业院校
                                </td>
                                <td align="left" colspan="3">
                                    <asp:Label ID="lblGraduationSchool" runat="server"><%# Eval("School") %></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="100px">
                                    现任职称
                                </td>
                                <td align="left" width="110px">
                                    <asp:Label ID="lblCurrentJobRank" runat="server"><%# Eval("CurrentJobRank") %></asp:Label>
                                </td>
                                <td align="center" width="80px">
                                    取得时间
                                </td>
                                <td align="left">
                                    <asp:Label ID="lblGetJobRankTime" runat="server"><%# Eval("JobDate")%></asp:Label>
                                </td>
                                <td align="center" width="100px">
                                    聘用年限
                                </td>
                                <td align="left">
                                    <asp:Label ID="lblEmploymentLife" runat="server" Width="20"><%# Eval("JobTerm") %></asp:Label>&nbsp;年
                                </td>
                                <td align="center" width="110px">
                                    转岗时间
                                </td>
                                <td align="left">
                                    <asp:Label ID="lblConversionDate" runat="server"><%# Eval("ConversionDate") %></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="100px">
                                    申报职称
                                </td>
                                <td align="left" colspan="2">
                                    <asp:Label runat="server" ID="lblApplyJobRank"><%# Eval("JobRankID")%></asp:Label>
                                </td>
                                <td align="center" width="100px">
                                    申报专业
                                </td>
                                <td align="left" colspan="2">
                                    <asp:Label ID="lblSpeciality" runat="server"><%# Eval("SpecialityID") %></asp:Label>
                                </td>
                                <td align="center" width="110px">
                                    申报类型
                                </td>
                                <td align="left">
                                    <asp:Label ID="lblApplyStatus" runat="server"><%# Eval("ApplyType") %></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="100px">
                                    外语种类
                                </td>
                                <td align="left" width="100px">
                                    <asp:Label ID="lblLanguage" runat="server"><%# Eval("ForeignLanguageName") %></asp:Label>
                                </td>
                                <td align="center" width="80px">
                                    外语成绩
                                </td>
                                <td align="left">
                                    <asp:Label runat="server" ID="lblLanguageLevel"><%# Eval("ForeignLanguageResult") %></asp:Label>
                                </td>
                                <td align="center" width="100px">
                                    计&nbsp;算&nbsp;机<br />
                                    成&nbsp;&nbsp;&nbsp;绩
                                </td>
                                <td align="left">
                                    <asp:Label runat="server" ID="lblComputerLevel"><%# Eval("ComputerResult") %></asp:Label>
                                </td>
                                <td align="center" width="110px">
                                    定期工作
                                </td>
                                <td align="left">
                                    <asp:Label ID="lblRegularJob" runat="server" Width="80px"><%# Eval("FixedJob") %></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="100px">
                                    单位政治<br />
                                    考核成绩
                                </td>
                                <td align="left">
                                    <asp:Label ID="lblPoliticalResult" runat="server"><%# Eval("PoliticsResult") %></asp:Label>
                                </td>
                                <td align="center" width="80px">
                                    单位业务<br />
                                    考核成绩
                                </td>
                                <td align="left">
                                    <asp:Label ID="lbljobResult" runat="server"><%# Eval("JobResult") %></asp:Label>
                                </td>
                                <td align="center" width="100px">
                                    申报时间
                                </td>
                                <td align="left">
                                    <asp:Label ID="lblApplyplight" runat="server"><%# Eval("Applyplight") %></asp:Label>
                                </td>
                                <td align="center">上次申报时间</td>
                                <td align="left"><%# Eval("LastApplyDate")%></td>
                            </tr>
                            <tr>
                                <td rowspan="2">
                                    课&nbsp;&nbsp;&nbsp;&nbsp;题
                                </td>
                                <td align="center" width="100px">
                                    名&nbsp;&nbsp;&nbsp;称
                                </td>
                                <td align="left" colspan="4" width="500">
                                    <asp:Label ID="lblSpecialityName" runat="server" Width="300px"><%# Eval("SpecialityName") %></asp:Label>
                                </td>
                                <td align="center" width="110px">
                                    结束时间
                                </td>
                                <td align="left">
                                    <asp:Label ID="lblSpecialityEndTime" runat="server"><%# Eval("SpecialitDateTime") %></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="100px">
                                    级&nbsp;&nbsp;&nbsp;别
                                </td>
                                <td align="left">
                                    <asp:Label ID="lblSpecialityLevel" runat="server"><%# Eval("SpecialityLevel") %></asp:Label>
                                </td>
                                <td align="center" width="80px">
                                    批准单位
                                </td>
                                <td align="left" colspan="2">
                                    <asp:Label ID="lblSpecialitapproveUnit" runat="server"><%# Eval("SpecialitapproveUnit") %></asp:Label>
                                </td>
                                <td align="center" width="110px">
                                    个人排名
                                </td>
                                <td align="left" width="80px">
                                    <asp:Label ID="lblSpecialitPersonalRank" runat="server"><%# Eval("SpecialitPersonalRank") %></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td rowspan="2">
                                    获奖情况
                                </td>
                                <td align="center" width="100px">
                                    名&nbsp;&nbsp;&nbsp;称
                                </td>
                                <td align="left" colspan="4" width="500">
                                    <asp:Label ID="lblAwardsName" runat="server"><%# Eval("AwardsName") %></asp:Label>
                                </td>
                                <td align="center" width="110px">
                                    获奖时间
                                </td>
                                <td align="left">
                                    <asp:Label ID="lblAwardsDateTime" runat="server"><%# Eval("AwardsDateTime") %></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="100px">
                                    级&nbsp;&nbsp;&nbsp;别
                                </td>
                                <td align="left">
                                    <asp:Label ID="lblAwardsLevel" runat="server"><%# Eval("AwardsLevel") %></asp:Label>
                                </td>
                                <td align="center">
                                    等&nbsp;&nbsp;&nbsp;级
                                </td>
                                <td colspan="2" align="left">
                                    <asp:Label ID="lblAwardsRank" runat="server"><%# Eval("AwardsRank") %></asp:Label>
                                </td>
                                <td align="center" width="110px">
                                    个人排名
                                </td>
                                <td align="left">
                                    &nbsp<asp:Label ID="lblAwardsPersonalRank" runat="server"><%# Eval("AwardsPersonalRank") %></asp:Label>
                                </td>
                            </tr>
                            <div id="divSpecialityAwards" runat="server" visible ="true" >
                            <tr>
                                <td rowspan="2">
                                    课&nbsp;&nbsp;&nbsp;&nbsp;题
                                </td>
                                <td align="center" width="100px">
                                    名&nbsp;&nbsp;&nbsp;称
                                </td>
                                <td align="left" colspan="4" width="500">
                                    <asp:Label ID="lblSpecialityName1" runat="server" Width="300px"><%# Eval("SpecialityName1") %></asp:Label>
                                </td>
                                <td align="center" width="110px">
                                    结束时间
                                </td>
                                <td align="left">
                                    <asp:Label ID="lblSpecialityEndTime1" runat="server"><%# Eval("SpecialitDateTime1") %></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="100px">
                                    级&nbsp;&nbsp;&nbsp;别
                                </td>
                                <td align="left">
                                    <asp:Label ID="lblSpecialityLevel1" runat="server"><%# Eval("SpecialityLevel1") %></asp:Label>
                                </td>
                                <td align="center" width="80px">
                                    批准单位
                                </td>
                                <td align="left" colspan="2">
                                    <asp:Label ID="lblSpecialitapproveUnit1" runat="server"><%# Eval("SpecialitapproveUnit1") %></asp:Label>
                                </td>
                                <td align="center" width="110px">
                                    个人排名
                                </td>
                                <td align="left" width="80px">
                                    <asp:Label ID="lblSpecialitPersonalRank1" runat="server"><%# Eval("SpecialitPersonalRank1") %></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td rowspan="2">
                                    获奖情况
                                </td>
                                <td align="center" width="100px">
                                    名&nbsp;&nbsp;&nbsp;称
                                </td>
                                <td align="left" colspan="4" width="500">
                                    <asp:Label ID="lblAwardsName1" runat="server"><%# Eval("AwardsName1") %></asp:Label>
                                </td>
                                <td align="center" width="110px">
                                    获奖时间
                                </td>
                                <td align="left">
                                    <asp:Label ID="lblAwardsDateTime1" runat="server"><%# Eval("AwardsDateTime1") %></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="100px">
                                    级&nbsp;&nbsp;&nbsp;别
                                </td>
                                <td align="left">
                                    <asp:Label ID="lblAwardsLevel1" runat="server"><%# Eval("AwardsLevel1") %></asp:Label>
                                </td>
                                <td align="center">
                                    等&nbsp;&nbsp;&nbsp;级
                                </td>
                                <td colspan="2" align="left">
                                    <asp:Label ID="lblAwardsRank1" runat="server"><%# Eval("AwardsRank1") %></asp:Label>
                                </td>
                                <td align="center" width="110px">
                                    个人排名
                                </td>
                                <td align="left">
                                    &nbsp<asp:Label ID="lblAwardsPersonalRank1" runat="server"><%# Eval("AwardsPersonalRank1") %></asp:Label>
                                </td>
                            </tr>
                            </div>
                            <tr>
                                <td colspan="8" style="padding: 0; margin: 0;">
                                    <table cellpadding="0" cellspacing="0" border="0" width="680px" style="border-right: none; border-bottom: none;">
                                        <tr>
                                            <td rowspan="9" width="70px">
                                                主送论文题目及发表期刊名称、编号
                                            </td>
                                            <td rowspan="2" width="30px">
                                                1
                                            </td>
                                            <td align="left" width="80px">
                                                论文题目
                                            </td>
                                            <td colspan="3" align="left">
                                                <asp:Label ID="lblPaperTitle1" runat="server"><%# Eval("ThesisTitle1") %></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="left" class="ARow">
                                                期刊名称及<br />
                                                发表日期
                                            </td>
                                            <td align="left" width="340px">
                                                <asp:Label ID="lblJournalsNo1" runat="server"><%# Eval("JournalsNo1") %></asp:Label>
                                            </td>
                                            <td align="left" width="70px">
                                                核心期刊<br />
                                                目录序号
                                            </td>
                                            <td align="left" width="50px">
                                                <asp:Label ID="lblPeriodicalNo1" runat="server"><%# Eval("PeriodicalNo1")%></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td rowspan="2">
                                                2
                                            </td>
                                            <td align="left">
                                                论文题目
                                            </td>
                                            <td colspan="4" align="left">
                                                <asp:Label ID="lblPaperTitle2" runat="server"><%# Eval("ThesisTitle2") %></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="left" class="ARow">
                                                期刊名称及<br />
                                                发表日期
                                            </td>
                                            <td align="left" width="300px">
                                                <asp:Label ID="lblJournalsNo2" runat="server"><%# Eval("JournalsNo2") %></asp:Label>
                                            </td>
                                            <td align="left" width="60px">
                                                核心期刊<br />
                                                目录序号
                                            </td>
                                            <td align="left" width="60px">
                                                <asp:Label ID="lblPeriodicalNo2" runat="server"><%# Eval("PeriodicalNo2")%></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td rowspan="2">
                                                3
                                            </td>
                                            <td align="left">
                                                论文题目
                                            </td>
                                            <td colspan="4" align="left">
                                                <asp:Label ID="lblPaperTitle3" runat="server"><%# Eval("ThesisTitle3") %></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="left" class="ARow">
                                                期刊名称及<br />
                                                发表日期
                                            </td>
                                            <td align="left" width="300px">
                                                <asp:Label ID="lblJournalsNo3" runat="server"><%# Eval("JournalsNo3") %></asp:Label>
                                            </td>
                                            <td align="left" width="60px">
                                                核心期刊<br />
                                                目录序号
                                            </td>
                                            <td align="left" width="60px">
                                                <asp:Label ID="lblPeriodicalNo3" runat="server"><%# Eval("PeriodicalNo3")%></asp:Label>
                                            </td>
                                        </tr>
                                        <%--<tr>
                                            <td rowspan="2">
                                                4
                                            </td>
                                            <td align="left">
                                                论文题目
                                            </td>
                                            <td colspan="4" align="left">
                                                <asp:Label ID="lblPaperTitle4" runat="server"><%# Eval("ThesisTitle4") %></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="left" class="ARow">
                                                期刊名称及<br />
                                                发表日期
                                            </td>
                                            <td align="left" width="300px">
                                                <asp:Label ID="lblJournalsNo4" runat="server"><%# Eval("JournalsNo4") %></asp:Label>
                                            </td>
                                            <td align="center" width="60px">
                                                核心期刊<br />
                                                目录序号
                                            </td>
                                            <td align="left" width="60px">
                                                <asp:Label ID="lblPeriodicalNo4" runat="server"><%# Eval("PeriodicalNo4")%></asp:Label>
                                            </td>
                                        </tr>--%>
                                    </table>
                                </td>
                            </tr>
                            <%--<tr>
                    <td>
                        汇报演示文档(PPT)
                    </td>
                    <td colspan="6" align="left"><asp:HiddenField  ID="hiddenPPTFile" runat="server" />
                            <asp:HyperLink ID="ShowPPT" runat="server" Visible="false">查看演示文档</asp:HyperLink>
                    </td>
                </tr>--%>
                            <tr>
                                <td align="center" width="100px">
                                    公示情况
                                </td>
                                <td align="center" width="100px">
                                    公示反映
                                </td>
                                <td align="left">
                                    <asp:Label ID="lblShowResponse" runat="server"><%# Eval("response").ToString()%></asp:Label>
                                </td>
                                <td align="center">
                                    公示时间
                                </td>
                                <td align="left" colspan="2">
                                    <asp:Label ID="lblStartShowMonth" runat="server"><%# Eval("startmonth") %></asp:Label>月
                                    <asp:Label ID="lblStartShowDay" runat="server"><%# Eval("startday") %></asp:Label>日--<asp:Label
                                        ID="lblEndShowMonth" runat="server"><%# Eval("endmonth") %></asp:Label>月
                                    <asp:Label ID="lblEndShowDay" runat="server"><%# Eval("endday") %></asp:Label>日
                                </td>
                                <td align="center" width="110px">
                                    公示地点
                                </td>
                                <td align="left">
                                    <asp:Label ID="lblShowAddress" runat="server"><%# Eval("address")%></asp:Label>
                                </td>
                            </tr>
                        </table>
                    </center>
                </div>
                <br />
                <div id="divPagerbreak" runat="server" class="break">
                </div>
            </ItemTemplate>
        </asp:Repeater>
    </div>
    </form>
</body>

<script>
//    function print() {
//        var wb = document.getElementById("WebBrowser1");
//        wb.Execwb(6, 6);
//        window.close();
//    }
//    print();
</script>

</html>
